package cc.comac.mom.api;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipOperator;
import cc.comac.mom.util.ResultBean;

@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipOperatorService {
	@RequestMapping(value = "/p/cs/EquipOperatorService/save",method = RequestMethod.POST)
	ResultBean save(@RequestBody EquipOperator obj);
	
	@RequestMapping(value = "/p/cs/EquipOperatorService/saveBatch",method = RequestMethod.POST)
	ResultBean saveBatch(@RequestBody List<EquipOperator> list);
	
	@RequestMapping(value = "/p/cs/EquipOperatorService/deleteBatch",method = RequestMethod.POST)
	ResultBean deleteBatch(@RequestBody List<EquipOperator> list);
	
	@RequestMapping(value = "/p/cs/EquipOperatorService/selectByCondition",method = RequestMethod.POST)
	ResultBean selectByCondition(@RequestBody EquipOperator obj);
}
